home *** CD-ROM | disk | FTP | other *** search
- Attribute VB_Name = "RemoteAccessServiceError"
- Public RASError(750) As String
-
- Public Const SUCCESS = 0
- Public Const RASBASE = 600
- Public Const PENDING = (RASBASE + 0)
- Public Const ERROR_INVALID_PORT_HANDLE = (RASBASE + 1)
- Public Const ERROR_PORT_ALREADY_OPEN = (RASBASE + 2)
- Public Const ERROR_BUFFER_TOO_SMALL = (RASBASE + 3)
- Public Const ERROR_WRONG_INFO_SPECIFIED = (RASBASE + 4)
- Public Const ERROR_CANNOT_SET_PORT_INFO = (RASBASE + 5)
- Public Const ERROR_PORT_NOT_CONNECTED = (RASBASE + 6)
- Public Const ERROR_EVENT_INVALID = (RASBASE + 7)
- Public Const ERROR_DEVICE_DOES_NOT_EXIST = (RASBASE + 8)
- Public Const ERROR_DEVICETYPE_DOES_NOT_EXIST = (RASBASE + 9)
- Public Const ERROR_BUFFER_INVALID = (RASBASE + 10)
- Public Const ERROR_ROUTE_NOT_AVAILABLE = (RASBASE + 11)
- Public Const ERROR_ROUTE_NOT_ALLOCATED = (RASBASE + 12)
- Public Const ERROR_INVALID_COMPRESSION_SPECIFIED = (RASBASE + 13)
- Public Const ERROR_OUT_OF_BUFFERS = (RASBASE + 14)
- Public Const ERROR_PORT_NOT_FOUND = (RASBASE + 15)
- Public Const ERROR_ASYNC_REQUEST_PENDING = (RASBASE + 16)
- Public Const ERROR_ALREADY_DISCONNECTING = (RASBASE + 17)
- Public Const ERROR_PORT_NOT_OPEN = (RASBASE + 18)
- Public Const ERROR_PORT_DISCONNECTED = (RASBASE + 19)
- Public Const ERROR_NO_ENDPOINTS = (RASBASE + 20)
- Public Const ERROR_CANNOT_OPEN_PHONEBOOK = (RASBASE + 21)
- Public Const ERROR_CANNOT_LOAD_PHONEBOOK = (RASBASE + 22)
- Public Const ERROR_CANNOT_FIND_PHONEBOOK_ENTRY = (RASBASE + 23)
- Public Const ERROR_CANNOT_WRITE_PHONEBOOK = (RASBASE + 24)
- Public Const ERROR_CORRUPT_PHONEBOOK = (RASBASE + 25)
- Public Const ERROR_CANNOT_LOAD_STRING = (RASBASE + 26)
- Public Const ERROR_KEY_NOT_FOUND = (RASBASE + 27)
- Public Const ERROR_DISCONNECTION = (RASBASE + 28)
- Public Const ERROR_REMOTE_DISCONNECTION = (RASBASE + 29)
- Public Const ERROR_HARDWARE_FAILURE = (RASBASE + 30)
- Public Const ERROR_USER_DISCONNECTION = (RASBASE + 31)
- Public Const ERROR_INVALID_SIZE = (RASBASE + 32)
- Public Const ERROR_PORT_NOT_AVAILABLE = (RASBASE + 33)
- Public Const ERROR_CANNOT_PROJECT_CLIENT = (RASBASE + 34)
- Public Const ERROR_UNKNOWN = (RASBASE + 35)
- Public Const ERROR_WRONG_DEVICE_ATTACHED = (RASBASE + 36)
- Public Const ERROR_BAD_STRING = (RASBASE + 37)
- Public Const ERROR_REQUEST_TIMEOUT = (RASBASE + 38)
- Public Const ERROR_CANNOT_GET_LANA = (RASBASE + 39)
- Public Const ERROR_NETBIOS_ERROR = (RASBASE + 40)
- Public Const ERROR_SERVER_OUT_OF_RESOURCES = (RASBASE + 41)
- Public Const ERROR_NAME_EXISTS_ON_NET = (RASBASE + 42)
- Public Const ERROR_SERVER_GENERAL_NET_FAILURE = (RASBASE + 43)
- Public Const WARNING_MSG_ALIAS_NOT_ADDED = (RASBASE + 44)
- Public Const ERROR_AUTH_INTERNAL = (RASBASE + 45)
- Public Const ERROR_RESTRICTED_LOGON_HOURS = (RASBASE + 46)
- Public Const ERROR_ACCT_DISABLED = (RASBASE + 47)
- Public Const ERROR_PASSWD_EXPIRED = (RASBASE + 48)
- Public Const ERROR_NO_DIALIN_PERMISSION = (RASBASE + 49)
- Public Const ERROR_SERVER_NOT_RESPONDING = (RASBASE + 50)
- Public Const ERROR_FROM_DEVICE = (RASBASE + 51)
- Public Const ERROR_UNRECOGNIZED_RESPONSE = (RASBASE + 52)
- Public Const ERROR_MACRO_NOT_FOUND = (RASBASE + 53)
- Public Const ERROR_MACRO_NOT_DEFINED = (RASBASE + 54)
- Public Const ERROR_MESSAGE_MACRO_NOT_FOUND = (RASBASE + 55)
- Public Const ERROR_DEFAULTOFF_MACRO_NOT_FOUND = (RASBASE + 56)
- Public Const ERROR_FILE_COULD_NOT_BE_OPENED = (RASBASE + 57)
- Public Const ERROR_DEVICENAME_TOO_LONG = (RASBASE + 58)
- Public Const ERROR_DEVICENAME_NOT_FOUND = (RASBASE + 59)
- Public Const ERROR_NO_RESPONSES = (RASBASE + 60)
- Public Const ERROR_NO_COMMAND_FOUND = (RASBASE + 61)
- Public Const ERROR_WRONG_KEY_SPECIFIED = (RASBASE + 62)
- Public Const ERROR_UNKNOWN_DEVICE_TYPE = (RASBASE + 63)
- Public Const ERROR_ALLOCATING_MEMORY = (RASBASE + 64)
- Public Const ERROR_PORT_NOT_CONFIGURED = (RASBASE + 65)
- Public Const ERROR_DEVICE_NOT_READY = (RASBASE + 66)
- Public Const ERROR_READING_INI_FILE = (RASBASE + 67)
- Public Const ERROR_NO_CONNECTION = (RASBASE + 68)
- Public Const ERROR_BAD_USAGE_IN_INI_FILE = (RASBASE + 69)
- Public Const ERROR_READING_SECTIONNAME = (RASBASE + 70)
- Public Const ERROR_READING_DEVICETYPE = (RASBASE + 71)
- Public Const ERROR_READING_DEVICENAME = (RASBASE + 72)
- Public Const ERROR_READING_USAGE = (RASBASE + 73)
- Public Const ERROR_READING_MAXCONNECTBPS = (RASBASE + 74)
- Public Const ERROR_READING_MAXCARRIERBPS = (RASBASE + 75)
- Public Const ERROR_LINE_BUSY = (RASBASE + 76)
- Public Const ERROR_VOICE_ANSWER = (RASBASE + 77)
- Public Const ERROR_NO_ANSWER = (RASBASE + 78)
- Public Const ERROR_NO_CARRIER = (RASBASE + 79)
- Public Const ERROR_NO_DIALTONE = (RASBASE + 80)
- Public Const ERROR_IN_COMMAND = (RASBASE + 81)
- Public Const ERROR_WRITING_SECTIONNAME = (RASBASE + 82)
- Public Const ERROR_WRITING_DEVICETYPE = (RASBASE + 83)
- Public Const ERROR_WRITING_DEVICENAME = (RASBASE + 84)
- Public Const ERROR_WRITING_MAXCONNECTBPS = (RASBASE + 85)
- Public Const ERROR_WRITING_MAXCARRIERBPS = (RASBASE + 86)
- Public Const ERROR_WRITING_USAGE = (RASBASE + 87)
- Public Const ERROR_WRITING_DEFAULTOFF = (RASBASE + 88)
- Public Const ERROR_READING_DEFAULTOFF = (RASBASE + 89)
- Public Const ERROR_EMPTY_INI_FILE = (RASBASE + 90)
- Public Const ERROR_AUTHENTICATION_FAILURE = (RASBASE + 91)
- Public Const ERROR_PORT_OR_DEVICE = (RASBASE + 92)
- Public Const ERROR_NOT_BINARY_MACRO = (RASBASE + 93)
- Public Const ERROR_DCB_NOT_FOUND = (RASBASE + 94)
- Public Const ERROR_STATE_MACHINES_NOT_STARTED = (RASBASE + 95)
- Public Const ERROR_STATE_MACHINES_ALREADY_STARTED = (RASBASE + 96)
- Public Const ERROR_PARTIAL_RESPONSE_LOOPING = (RASBASE + 97)
- Public Const ERROR_UNKNOWN_RESPONSE_KEY = (RASBASE + 98)
- Public Const ERROR_RECV_BUF_FULL = (RASBASE + 99)
- Public Const ERROR_CMD_TOO_LONG = (RASBASE + 100)
- Public Const ERROR_UNSUPPORTED_BPS = (RASBASE + 101)
- Public Const ERROR_UNEXPECTED_RESPONSE = (RASBASE + 102)
- Public Const ERROR_INTERACTIVE_MODE = (RASBASE + 103)
- Public Const ERROR_BAD_CALLBACK_NUMBER = (RASBASE + 104)
- Public Const ERROR_INVALID_AUTH_STATE = (RASBASE + 105)
- Public Const ERROR_WRITING_INITBPS = (RASBASE + 106)
- Public Const ERROR_X25_DIAGNOSTIC = (RASBASE + 107)
- Public Const ERROR_ACCT_EXPIRED = (RASBASE + 108)
- Public Const ERROR_CHANGING_PASSWORD = (RASBASE + 109)
- Public Const ERROR_OVERRUN = (RASBASE + 110)
- Public Const ERROR_RASMAN_CANNOT_INITIALIZE = (RASBASE + 111)
- Public Const ERROR_BIPLEX_PORT_NOT_AVAILABLE = (RASBASE + 112)
- Public Const ERROR_NO_ACTIVE_ISDN_LINES = (RASBASE + 113)
- Public Const ERROR_NO_ISDN_CHANNELS_AVAILABLE = (RASBASE + 114)
- Public Const ERROR_TOO_MANY_LINE_ERRORS = (RASBASE + 115)
- Public Const ERROR_IP_CONFIGURATION = (RASBASE + 116)
- Public Const ERROR_NO_IP_ADDRESSES = (RASBASE + 117)
- Public Const ERROR_PPP_TIMEOUT = (RASBASE + 118)
- Public Const ERROR_PPP_REMOTE_TERMINATED = (RASBASE + 119)
- Public Const ERROR_PPP_NO_PROTOCOLS_CONFIGURED = (RASBASE + 120)
- Public Const ERROR_PPP_NO_RESPONSE = (RASBASE + 121)
- Public Const ERROR_PPP_INVALID_PACKET = (RASBASE + 122)
- Public Const ERROR_PHONE_NUMBER_TOO_LONG = (RASBASE + 123)
- Public Const ERROR_IPXCP_NO_DIALOUT_CONFIGURED = (RASBASE + 124)
- Public Const ERROR_IPXCP_NO_DIALIN_CONFIGURED = (RASBASE + 125)
- Public Const ERROR_IPXCP_DIALOUT_ALREADY_ACTIVE = (RASBASE + 126)
- Public Const ERROR_ACCESSING_TCPCFGDLL = (RASBASE + 127)
- Public Const ERROR_NO_IP_RAS_ADAPTER = (RASBASE + 128)
- Public Const ERROR_SLIP_REQUIRES_IP = (RASBASE + 129)
- Public Const ERROR_PROJECTION_NOT_COMPLETE = (RASBASE + 130)
- Public Const ERROR_PROTOCOL_NOT_CONFIGURED = (RASBASE + 131)
- Public Const ERROR_PPP_NOT_CONVERGING = (RASBASE + 132)
- Public Const ERROR_PPP_CP_REJECTED = (RASBASE + 133)
- Public Const ERROR_PPP_LCP_TERMINATED = (RASBASE + 134)
- Public Const ERROR_PPP_REQUIRED_ADDRESS_REJECTED = (RASBASE + 135)
- Public Const ERROR_PPP_NCP_TERMINATED = (RASBASE + 136)
- Public Const ERROR_PPP_LOOPBACK_DETECTED = (RASBASE + 137)
- Public Const ERROR_PPP_NO_ADDRESS_ASSIGNED = (RASBASE + 138)
- Public Const ERROR_CANNOT_USE_LOGON_CREDENTIALS = (RASBASE + 139)
- Public Const ERROR_TAPI_CONFIGURATION = (RASBASE + 140)
- Public Const ERROR_NO_LOCAL_ENCRYPTION = (RASBASE + 141)
- Public Const ERROR_NO_REMOTE_ENCRYPTION = (RASBASE + 142)
- Public Const ERROR_REMOTE_REQUIRES_ENCRYPTION = (RASBASE + 143)
- Public Const ERROR_IPXCP_NET_NUMBER_CONFLICT = (RASBASE + 144)
- Public Const ERROR_INVALID_SMM = (RASBASE + 145)
- Public Const ERROR_SMM_UNINITIALIZED = (RASBASE + 146)
- Public Const ERROR_NO_MAC_FOR_PORT = (RASBASE + 147)
- Public Const ERROR_SMM_TIMEOUT = (RASBASE + 148)
- Public Const ERROR_BAD_PHONE_NUMBER = (RASBASE + 149)
- Public Const ERROR_WRONG_MODULE = (RASBASE + 150)
- Public Const RASBASEEND = (RASBASE + 150)
- Public Sub InitRASErrorStrings()
- RASError(0) = "SUCCESS"
- RASError(600) = "PENDING"
- RASError(601) = "ERROR_INVALID_PORT_HANDLE"
- RASError(602) = "ERROR_PORT_ALREADY_OPEN"
- RASError(603) = "ERROR_BUFFER_TOO_SMALL"
- RASError(604) = "ERROR_WRONG_INFO_SPECIFIED"
- RASError(605) = "ERROR_CANNOT_SET_PORT_INFO"
- RASError(606) = "ERROR_PORT_NOT_CONNECTED"
- RASError(607) = "ERROR_EVENT_INVALID"
- RASError(608) = "ERROR_DEVICE_DOES_NOT_EXIST"
- RASError(609) = "ERROR_DEVICETYPE_DOES_NOT_EXIST"
- RASError(610) = "ERROR_BUFFER_INVALID"
- RASError(611) = "ERROR_ROUTE_NOT_AVAILABLE"
- RASError(612) = "ERROR_ROUTE_NOT_ALLOCATED"
- RASError(613) = "ERROR_INVALID_COMPRESSION_SPECIFIED"
- RASError(614) = "ERROR_OUT_OF_BUFFERS"
- RASError(615) = "ERROR_PORT_NOT_FOUND"
- RASError(616) = "ERROR_ASYNC_REQUEST_PENDING"
- RASError(617) = "ERROR_ALREADY_DISCONNECTING"
- RASError(618) = "ERROR_PORT_NOT_OPEN"
- RASError(619) = "ERROR_PORT_DISCONNECTED"
- RASError(620) = "ERROR_NO_ENDPOINTS"
- RASError(621) = "ERROR_CANNOT_OPEN_PHONEBOOK"
- RASError(622) = "ERROR_CANNOT_LOAD_PHONEBOOK"
- RASError(623) = "ERROR_CANNOT_FIND_PHONEBOOK_ENTRY"
- RASError(624) = "ERROR_CANNOT_WRITE_PHONEBOOK"
- RASError(625) = "ERROR_CORRUPT_PHONEBOOK"
- RASError(626) = "ERROR_CANNOT_LOAD_STRING"
- RASError(627) = "ERROR_KEY_NOT_FOUND"
- RASError(628) = "ERROR_DISCONNECTION"
- RASError(629) = "ERROR_REMOTE_DISCONNECTION"
- RASError(630) = "ERROR_HARDWARE_FAILURE"
- RASError(631) = "ERROR_USER_DISCONNECTION"
- RASError(632) = "ERROR_INVALID_SIZE"
- RASError(633) = "ERROR_PORT_NOT_AVAILABLE"
- RASError(634) = "ERROR_CANNOT_PROJECT_CLIENT"
- RASError(635) = "ERROR_UNKNOWN"
- RASError(636) = "ERROR_WRONG_DEVICE_ATTACHED"
- RASError(637) = "ERROR_BAD_STRING"
- RASError(638) = "ERROR_REQUEST_TIMEOUT"
- RASError(639) = "ERROR_CANNOT_GET_LANA"
- RASError(640) = "ERROR_NETBIOS_ERROR"
- RASError(641) = "ERROR_SERVER_OUT_OF_RESOURCES"
- RASError(642) = "ERROR_NAME_EXISTS_ON_NET"
- RASError(643) = "ERROR_SERVER_GENERAL_NET_FAILURE"
- RASError(644) = "WARNING_MSG_ALIAS_NOT_ADDED"
- RASError(645) = "ERROR_AUTH_INTERNAL"
- RASError(646) = "ERROR_RESTRICTED_LOGON_HOURS"
- RASError(647) = "ERROR_ACCT_DISABLED"
- RASError(648) = "ERROR_PASSWD_EXPIRED"
- RASError(649) = "ERROR_NO_DIALIN_PERMISSION"
- RASError(650) = "ERROR_SERVER_NOT_RESPONDING"
- RASError(651) = "ERROR_FROM_DEVICE"
- RASError(652) = "ERROR_UNRECOGNIZED_RESPONSE"
- RASError(653) = "ERROR_MACRO_NOT_FOUND"
- RASError(654) = "ERROR_MACRO_NOT_DEFINED"
- RASError(655) = "ERROR_MESSAGE_MACRO_NOT_FOUND"
- RASError(656) = "ERROR_DEFAULTOFF_MACRO_NOT_FOUND"
- RASError(657) = "ERROR_FILE_COULD_NOT_BE_OPENED"
- RASError(658) = "ERROR_DEVICENAME_TOO_LONG"
- RASError(659) = "ERROR_DEVICENAME_NOT_FOUND"
- RASError(660) = "ERROR_NO_RESPONSES"
- RASError(661) = "ERROR_NO_COMMAND_FOUND"
- RASError(662) = "ERROR_WRONG_KEY_SPECIFIED"
- RASError(663) = "ERROR_UNKNOWN_DEVICE_TYPE"
- RASError(664) = "ERROR_ALLOCATING_MEMORY"
- RASError(665) = "ERROR_PORT_NOT_CONFIGURED"
- RASError(666) = "ERROR_DEVICE_NOT_READY"
- RASError(667) = "ERROR_READING_INI_FILE"
- RASError(668) = "ERROR_NO_CONNECTION"
- RASError(669) = "ERROR_BAD_USAGE_IN_INI_FILE"
- RASError(670) = "ERROR_READING_SECTIONNAME"
- RASError(671) = "ERROR_READING_DEVICETYPE"
- RASError(672) = "ERROR_READING_DEVICENAME"
- RASError(673) = "ERROR_READING_USAGE"
- RASError(674) = "ERROR_READING_MAXCONNECTBPS"
- RASError(675) = "ERROR_READING_MAXCARRIERBPS"
- RASError(676) = "ERROR_LINE_BUSY"
- RASError(677) = "ERROR_VOICE_ANSWER"
- RASError(678) = "ERROR_NO_ANSWER"
- RASError(679) = "ERROR_NO_CARRIER"
- RASError(680) = "ERROR_NO_DIALTONE"
- RASError(681) = "ERROR_IN_COMMAND"
- RASError(682) = "ERROR_WRITING_SECTIONNAME"
- RASError(683) = "ERROR_WRITING_DEVICETYPE"
- RASError(684) = "ERROR_WRITING_DEVICENAME"
- RASError(685) = "ERROR_WRITING_MAXCONNECTBPS"
- RASError(686) = "ERROR_WRITING_MAXCARRIERBPS"
- RASError(687) = "ERROR_WRITING_USAGE"
- RASError(688) = "ERROR_WRITING_DEFAULTOFF"
- RASError(689) = "ERROR_READING_DEFAULTOFF"
- RASError(690) = "ERROR_EMPTY_INI_FILE"
- RASError(691) = "ERROR_AUTHENTICATION_FAILURE"
- RASError(692) = "ERROR_PORT_OR_DEVICE"
- RASError(693) = "ERROR_NOT_BINARY_MACRO"
- RASError(694) = "ERROR_DCB_NOT_FOUND"
- RASError(695) = "ERROR_STATE_MACHINES_NOT_STARTED"
- RASError(696) = "ERROR_STATE_MACHINES_ALREADY_STARTED"
- RASError(697) = "ERROR_PARTIAL_RESPONSE_LOOPING"
- RASError(698) = "ERROR_UNKNOWN_RESPONSE_KEY"
- RASError(699) = "ERROR_RECV_BUF_FULL"
- RASError(700) = "ERROR_CMD_TOO_LONG"
- RASError(701) = "ERROR_UNSUPPORTED_BPS"
- RASError(702) = "ERROR_UNEXPECTED_RESPONSE"
- RASError(703) = "ERROR_INTERACTIVE_MODE"
- RASError(704) = "ERROR_BAD_CALLBACK_NUMBER"
- RASError(705) = "ERROR_INVALID_AUTH_STATE"
- RASError(706) = "ERROR_WRITING_INITBPS"
- RASError(707) = "ERROR_X25_DIAGNOSTIC"
- RASError(708) = "ERROR_ACCT_EXPIRED"
- RASError(709) = "ERROR_CHANGING_PASSWORD"
- RASError(710) = "ERROR_OVERRUN"
- RASError(711) = "ERROR_RASMAN_CANNOT_INITIALIZE"
- RASError(712) = "ERROR_BIPLEX_PORT_NOT_AVAILABLE"
- RASError(713) = "ERROR_NO_ACTIVE_ISDN_LINES"
- RASError(714) = "ERROR_NO_ISDN_CHANNELS_AVAILABLE"
- RASError(715) = "ERROR_TOO_MANY_LINE_ERRORS"
- RASError(716) = "ERROR_IP_CONFIGURATION"
- RASError(717) = "ERROR_NO_IP_ADDRESSES"
- RASError(718) = "ERROR_PPP_TIMEOUT"
- RASError(719) = "ERROR_PPP_REMOTE_TERMINATED"
- RASError(720) = "ERROR_PPP_NO_PROTOCOLS_CONFIGURED"
- RASError(721) = "ERROR_PPP_NO_RESPONSE"
- RASError(722) = "ERROR_PPP_INVALID_PACKET"
- RASError(723) = "ERROR_PHONE_NUMBER_TOO_LONG"
- RASError(724) = "ERROR_IPXCP_NO_DIALOUT_CONFIGURED"
- RASError(725) = "ERROR_IPXCP_NO_DIALIN_CONFIGURED"
- RASError(726) = "ERROR_IPXCP_DIALOUT_ALREADY_ACTIVE"
- RASError(727) = "ERROR_ACCESSING_TCPCFGDLL"
- RASError(728) = "ERROR_NO_IP_RAS_ADAPTER"
- RASError(729) = "ERROR_SLIP_REQUIRES_IP"
- RASError(730) = "ERROR_PROJECTION_NOT_COMPLETE"
- RASError(731) = "ERROR_PROTOCOL_NOT_CONFIGURED"
- RASError(732) = "ERROR_PPP_NOT_CONVERGING"
- RASError(733) = "ERROR_PPP_CP_REJECTED"
- RASError(734) = "ERROR_PPP_LCP_TERMINATED"
- RASError(735) = "ERROR_PPP_REQUIRED_ADDRESS_REJECTED"
- RASError(736) = "ERROR_PPP_NCP_TERMINATED"
- RASError(737) = "ERROR_PPP_LOOPBACK_DETECTED"
- RASError(738) = "ERROR_PPP_NO_ADDRESS_ASSIGNED"
- RASError(739) = "ERROR_CANNOT_USE_LOGON_CREDENTIALS"
- RASError(740) = "ERROR_TAPI_CONFIGURATION"
- RASError(741) = "ERROR_NO_LOCAL_ENCRYPTION"
- RASError(742) = "ERROR_NO_REMOTE_ENCRYPTION"
- RASError(743) = "ERROR_REMOTE_REQUIRES_ENCRYPTION"
- RASError(744) = "ERROR_IPXCP_NET_NUMBER_CONFLICT"
- RASError(745) = "ERROR_INVALID_SMM"
- RASError(746) = "ERROR_SMM_UNINITIALIZED"
- RASError(747) = "ERROR_NO_MAC_FOR_PORT"
- RASError(748) = "ERROR_SMM_TIMEOUT"
- RASError(749) = "ERROR_BAD_PHONE_NUMBER"
- RASError(750) = "ERROR_WRONG_MODULE"
- End Sub
-